/*
	File : OtherAGV.h
	Author : Achmad Giovani
*/

#ifndef OTHERAGV_H_
#define OTHERAGV_H_

#include <string>
#include <algorithm>
#include <vector>
#include <sstream>
#include <fstream>
#include "Cart.h"
#include "Cart_item.h"
#include "Category.h"
#include "Product.h"
#include "Customer.h"

class OtherAGV{
	public:
		static void write(vector<Cart>, vector<Cart_item>, vector<Category>, vector<Product>, vector<Customer>); 		/* AGV on C3 */
		
		
	private:
		static string convertProdId(int);				
		static bool validateCartItem(vector<Cart_item>, vector<Product>);
		static bool validateCart(vector<Cart>, vector<Cart_item>);
		static bool validateProduct(vector<Product>); 	
};


#endif //OTHERAGV_H_